/*
Copyright (c) [2019年5月1日] [吴超]
[MBT_studio] is licensed under Mulan PSL v2.
You can use this software according to the terms and conditions of the Mulan PSL v2.
You may obtain a copy of Mulan PSL v2 at:
		 http://license.coscl.org.cn/MulanPSL2
THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
See the Mulan PSL v2 for more details.
*/
#pragma once


#include "基本类型.h"
#include "几何数据.h"

//#include <vulkan/vulkan.h>
//#include "../../Yi_GL.h"



/*enum E_着色器类型 {
	e_顶点着色 = GL_VERTEX_SHADER,
	e_细分控制着色 = GL_TESS_CONTROL_SHADER,
	e_细分着色 = GL_TESS_EVALUATION_SHADER,
	e_几何着色 = GL_GEOMETRY_SHADER,
	e_像素着色 = GL_FRAGMENT_SHADER,
	e_计算着色 = GL_COMPUTE_SHADER,


	e_VK_顶点着色 = VK_SHADER_STAGE_VERTEX_BIT,
	e_VK_细分控制着色 = VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT,
	e_VK_细分着色 = VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT,
	e_VK_几何着色 = VK_SHADER_STAGE_GEOMETRY_BIT,
	e_VK_像素着色 = VK_SHADER_STAGE_FRAGMENT_BIT,
	e_VK_计算着色 = VK_SHADER_STAGE_COMPUTE_BIT,


	e_顶点着色 = 0,
	e_细分控制着色 = 0,
	e_细分着色 = 0,
	e_几何着色 = 0,
	e_像素着色 = 0,
	e_计算着色 = 0,

};
*/

/*
typedef struct {
	std::string		path;
	E_着色器类型	阶段;
	bool			isSPIVR;
}S_着色创建参数;



struct S_着色 {

	std::string		m_Name;

	S_着色(std::string name);

	virtual void		f_从文件载入着色器(const std::vector<S_着色创建参数> 参数, void* dev) {}

};
*/


